<div class="dataInnBottom">
    <div class="dataHeader">
        <h4>Notifications</h4>
    </div>
    <div class="clr"></div>
    <?php $this->addScriptPath('../application/views/scripts/'); ?>
    <?= $this->paginationControl($this->paginator, 'Sliding', 'paginator.phtml') ?>
    <div class="clr"></div>
    <table class="dataActions" width="100%" border="0" cellpadding="0" cellspacing="0" >
        <tr>
            <th>Cabinet</th>
            <th>Switch</th>
            <th>Team Members</th>
            <th>Houses</th>
        </tr>
        <?php foreach ($this->paginator as $item) {
        ?>
            <tr>
                <td><?php echo $item['cabinet_name'] ?></td>
                <td><a href="/marketing/mynotification/progress/<?php echo $item['id'] ?>" ><?php echo $item['name'] ?></a></td>
            <?php
            $team_names = $this->getSwitchUsers($item['id']);
            ?>
            <td class="colGray">
                <?php echo $team_names; ?>
            </td>
            <td>
                <a href="/marketing/myhouses/" >Houses</a>
            </td>
        </tr>
        <?php } ?>
    </table>
</div>